<template>
    <div>
        <ul class="footer">
            <li>
                <router-link to="index">
                <i class="iconfont icon-box"></i>
                <p>商城</p>
                </router-link>
            </li>
            <li>
                <router-link to="proCate">
                <i class="iconfont icon-all"></i>
                <p>分类</p>
                </router-link>
            </li>
            <li>
                <router-link to="pro_list">
                <i class="iconfont icon-comments"></i>
                <p>消息</p>
                </router-link>
            </li>
            <li>
                <router-link to="shop_cart">
                <i class="iconfont icon-cart"></i>
                <p>购物车</p>
                </router-link>
            </li>
            <li>
                <router-link to="user">
                <i class="iconfont icon-account"></i>
                <p>我</p>
                </router-link>
            </li>
        </ul>
    </div>
</template>

<script>
export default {
  name: "footerComponent"
};
</script>

<style scoped lang="less">
.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 98px;
  list-style: none;
  border-top: #e4e4e4 1px solid; /*no*/
  display: flex;
  background-color: #ffffff;
  li {
    width: 20%;
    color: #444444;
    font-size: 24px;
    text-align: center;
    i {
      display: block;
      font-size: 42px;
      margin: 10px 0;
    }
  }
  a{
      color: #444444;      
  }
  .router-link-active{
      color: #6a7531;      
  }
}
</style>